package com.tvunetworks.device.extra.service;

import com.tvunetworks.device.extra.model.BucketInfo;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @author liam
 */
public interface RegionService {

    /**
     * 根据Ip获取region
     * @param request 请求
     * @param imageType imageType
     * @return region 信息
     */
    BucketInfo defaultRegionByIp(HttpServletRequest request, @RequestParam String imageType);
}
